package client;

import java.util.LinkedList;
import java.util.List;

public class ClientDemo {

	private static List<String> subs1 = new LinkedList<String>();
	private static List<String> subs2 = new LinkedList<String>();
	private static List<String> subs3 = new LinkedList<String>();
	private static List<String> subs4 = new LinkedList<String>();
	private static List<String> subs5 = new LinkedList<String>();
	private static List<String> subs6 = new LinkedList<String>();
    
    public static void main(String[] args) {
    	setup();
        Client client1 = new Client("c1", "node10.stanford.vicci.org", 15000, subs1);
        Client client2 = new Client("c2", "node10.stanford.vicci.org", 15000, subs2);
        Client client3 = new Client("c3", "node10.princeton.vicci.org", 15000, subs3);
        Client client4 = new Client("c4", "node10.princeton.vicci.org", 15000, subs4);
    }

    private static void setup() {
    	for (int i = 1; i < 7; i++) {
        	String s = i + "";
        	switch (i) {
        	case 1:
        	case 3:
        	case 5:
        		subs2.add(s);
        		subs3.add(s);
        		subs6.add(s);
        		continue;
        	case 2:
        	case 4:
        	case 6:
        		subs1.add(s);
        		subs4.add(s);
        		subs5.add(s);
        		continue;
        	}
        }
    }
}
